package com.qch.edu.lagou.algorithm.recursion;

/**
 * @Author qch
 * @Date 2021/7/14
 * 1.递归
 */
public class HelloWorld {
    public static void main(String[] args) {
        HelloWorld.printRa("哈哈",5);
    }
    public static void printRa(String ss,int n)
    {
        if(n<=0)
            return;
        System.out.println(ss);
        printRa(ss,n-1);
    }
}
